package be.euroindicator.test;

import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;

import org.w3c.dom.Document;

public class EurostatLoader 
{
	public static void main(String[] args) throws Throwable 
	{
		URL url=new URL("http://epp.eurostat.ec.europa.eu/NavTree_prod/everybody/BulkDownloadListing?file=table_of_contents.xml");
		
		InputStream is=url.openStream();
		Document dom=DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(is);
		
		
	}
}
